package com.ifast.integral.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.google.common.collect.Maps;
import com.ifast.common.utils.ExtensionsTool;
import com.ifast.integral.dao.IntegralGoodsDao;
import com.ifast.integral.domain.IntegralGoods;
import com.ifast.integral.service.IntegralGoodsService;
import com.luculent.util.extension.api.Result;

import lombok.experimental.ExtensionMethod;


/**
 * 
 * @author ShiQiang
 * @date 2019年4月9日09:56:53
 */
@Transactional
@Service("integralGoodsService")
@ExtensionMethod({ExtensionsTool.class})
public class IntegralGoodsServiceImpl extends ServiceImpl<IntegralGoodsDao, IntegralGoods> implements IntegralGoodsService{

	//测试ExtensionsTool
	@Override
	public Result<?> info(String userId) {
		System.out.println(userId.isNull());
		Map<String,Object> map = Maps.newHashMap();
		map.put("1", "2").put("3", "4");
		System.out.println("==========");
		System.out.println(map.keySet());
		System.out.println(map.values());
        return Result.ok();
	}
}